﻿using RRQMCore.ByteManager;
using RRQMSocket;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RRQMSocketServer.server
{
    class VIPTcpSocketClient : SocketClient
    {
        protected override void HandleReceivedData(ByteBlock byteBlock, object obj)
        {
            string data = Encoding.UTF8.GetString(byteBlock.Buffer, 0, byteBlock.Len);
            VIPTcpService vipTcpService = (VIPTcpService)this.Service;
            vipTcpService.HandleRequest(data,this);
        }
    }
}
